package com.lw.mybatis.pojo;


import java.util.Date;
import java.util.List;

public class TbGoodsKz {

  private long id;
  private String name;
  private Date pubdate;
  private String picture;
  private long price;
  private long star;
  private String intro;

  private List<TbOrder> orderList;

  public List<TbOrder> getOrderList() {
    return orderList;
  }

  public void setOrderList(List<TbOrder> orderList) {
    this.orderList = orderList;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public Date getPubdate() {
    return pubdate;
  }

  public void setPubdate(Date pubdate) {
    this.pubdate = pubdate;
  }


  public String getPicture() {
    return picture;
  }

  public void setPicture(String picture) {
    this.picture = picture;
  }


  public long getPrice() {
    return price;
  }

  public void setPrice(long price) {
    this.price = price;
  }


  public long getStar() {
    return star;
  }

  public void setStar(long star) {
    this.star = star;
  }


  public String getIntro() {
    return intro;
  }

  public void setIntro(String intro) {
    this.intro = intro;
  }

  @Override
  public String toString() {
    return "TbGoodsKz{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", pubdate=" + pubdate +
            ", picture='" + picture + '\'' +
            ", price=" + price +
            ", star=" + star +
            ", intro='" + intro + '\'' +
            ", orderList=" + orderList +
            '}';
  }
}
